package com.woniu.util;

public interface ConstantUtil {
   String REDIS_JWT_KEY= "jwt:userId";
   String REDIS_MAIN_CATEGORY="main:category";
   String REDIS_CHILD_CATEGORY="child:category";

   String REDIS_EMAILL_KEY="emaill:";
   String REDIS_EMAILL_KEY_LIST="emaillList:sync";
   //产品存缓存
   String REDIS_PRODUCT_KEY="catch:product";
   String REDIS_DELAY_PRODUCT="catch:delay";
   //产品延迟队列交换机
   String RABBIT_EXCHANGE ="productExchange";
   String RABBIT_QUEUE = "productQueue";


   // rabbitMQ 相关
   // 延迟队列
   String RABBIT_QUEUE_CHECK_ORDER_STATUS = "checkOrderStatus";
   String RABBIT_CUSTOM_EXCHANGE = "customExchange";
   String ROUTING_KEY_CHECK_ORDER_STATUS = "checkOrderStatus";

   Integer RABBIT_TTL = 50 * 1000;

   // topic交换机
   String RABBIT_QUEUE_ORDER = "orderQueue";
   String RABBIT_EXCHANGE_TOPIC = "topicExchange";
   String ROUTING_KEY_ORDER = "order";

   // 保证消息消费的幂等性
   Object REDIS_ORDER = "redisOrder";
   String REDIS_CAPTCHA_KEY = "captcha:key";


}
